package com.glela.platform.model;

import java.util.Date;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * @author liujie
 * 
 * 匿名用户Model
 * add by liujie 2016-03-29 
 *
 */
public class Guest{

	private Long id;
	/**
	 * 匿名用户Dcode
	 */
    private String code;
    /**
     * 常驻地
     */
    private String located;
    /**
     * 是否调试器
     */
    private boolean isDebugger;
    /**
     * 是否越狱
     */
    private boolean isJailbreak;
    /**
     * 是否模拟器
     */
    private boolean isSimulator;
    /**
     * 百度设备渠道ID
     */
    private String channalId;
    /**
     * 设备类型 1：android 2:ios
     */
    private Integer deviceType;
    /**
     * 创建时间
     */
    private Date createTime;
	

	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public String getLocated() {
		return located;
	}


	public void setLocated(String located) {
		this.located = located;
	}


	public boolean isDebugger() {
		return isDebugger;
	}


	public void setDebugger(boolean isDebugger) {
		this.isDebugger = isDebugger;
	}


	public boolean isJailbreak() {
		return isJailbreak;
	}


	public void setJailbreak(boolean isJailbreak) {
		this.isJailbreak = isJailbreak;
	}


	public boolean isSimulator() {
		return isSimulator;
	}


	public void setSimulator(boolean isSimulator) {
		this.isSimulator = isSimulator;
	}


	public String getChannalId() {
		return channalId;
	}


	public void setChannalId(String channalId) {
		this.channalId = channalId;
	}


	public Integer getDeviceType() {
		return deviceType;
	}


	public void setDeviceType(Integer deviceType) {
		this.deviceType = deviceType;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	@Override
	public String toString()
	{
		return ReflectionToStringBuilder.reflectionToString(this);
	}

}
